﻿using System;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.InteropServices;
using Teigha.Core;

namespace Teigha.TD
{
	public class OdDbRasterVariables : OdDbObject
	{
		[EditorBrowsable(EditorBrowsableState.Never)]
		public OdDbRasterVariables(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbRasterVariables_SWIGUpcast(cPtr), cMemoryOwn)
		{
			this.swigCPtr = new HandleRef(this, cPtr);
		}

		[EditorBrowsable(EditorBrowsableState.Never)]
		public static HandleRef getCPtr(OdDbRasterVariables obj)
		{
			if (obj != null)
			{
				return obj.swigCPtr;
			}
			return new HandleRef(null, IntPtr.Zero);
		}

		~OdDbRasterVariables()
		{
			this.Dispose();
		}

		public override void Dispose()
		{
			if (this.swigCPtr.Handle != IntPtr.Zero)
			{
				if (this.swigCMemOwn)
				{
					lock (this.locker)
					{
						if (this.swigCPtr.Handle != IntPtr.Zero && this.swigCMemOwn)
						{
							this.swigCMemOwn = false;
							TD_DbPINVOKE.delete_OdDbRasterVariables(this.swigCPtr);
						}
					}
					this.swigCMemOwn = false;
				}
				this.swigCPtr = new HandleRef(null, IntPtr.Zero);
			}
			GC.SuppressFinalize(this);
			base.Dispose();
		}

		public OdDbRasterVariables() : this(TD_DbPINVOKE.new_OdDbRasterVariables(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
		{
			MemoryTransaction currentTransaction = MemoryManager.GetMemoryManager().GetCurrentTransaction();
			if (currentTransaction != null)
			{
				currentTransaction.AddObject(new OdDbRasterVariables(this.swigCPtr.Handle, true));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			this.SwigDirectorConnect();
		}

		public new static OdDbRasterVariables cast(OdRxObject pObj)
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbRasterVariables_cast(OdRxObject.getCPtr(pObj));
			OdDbRasterVariables result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdRxClass desc()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(TD_DbPINVOKE.OdDbRasterVariables_desc(), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxClass isA()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(this.SwigDerivedClassHasMethod("isA", OdDbRasterVariables.swigMethodTypes1) ? TD_DbPINVOKE.OdDbRasterVariables_isASwigExplicitOdDbRasterVariables(this.swigCPtr) : TD_DbPINVOKE.OdDbRasterVariables_isA(this.swigCPtr), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxObject queryX(OdRxClass protocolClass)
		{
			OdRxObject result = Teigha.Core.Helpers.odrxCreateObjectInternal(this.SwigDerivedClassHasMethod("queryX", OdDbRasterVariables.swigMethodTypes0) ? TD_DbPINVOKE.OdDbRasterVariables_queryXSwigExplicitOdDbRasterVariables(this.swigCPtr, OdRxClass.getCPtr(protocolClass)) : TD_DbPINVOKE.OdDbRasterVariables_queryX(this.swigCPtr, OdRxClass.getCPtr(protocolClass)), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdDbRasterVariables createObject()
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbRasterVariables_createObject();
			OdDbRasterVariables result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdResult dwgInFields(OdDbDwgFiler pFiler)
		{
			OdResult result = (OdResult)(this.SwigDerivedClassHasMethod("dwgInFields", OdDbRasterVariables.swigMethodTypes24) ? TD_DbPINVOKE.OdDbRasterVariables_dwgInFieldsSwigExplicitOdDbRasterVariables(this.swigCPtr, OdDbDwgFiler.getCPtr(pFiler)) : TD_DbPINVOKE.OdDbRasterVariables_dwgInFields(this.swigCPtr, OdDbDwgFiler.getCPtr(pFiler)));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual void dwgOutFields(OdDbDwgFiler pFiler)
		{
			if (this.SwigDerivedClassHasMethod("dwgOutFields", OdDbRasterVariables.swigMethodTypes25))
			{
				TD_DbPINVOKE.OdDbRasterVariables_dwgOutFieldsSwigExplicitOdDbRasterVariables(this.swigCPtr, OdDbDwgFiler.getCPtr(pFiler));
			}
			else
			{
				TD_DbPINVOKE.OdDbRasterVariables_dwgOutFields(this.swigCPtr, OdDbDwgFiler.getCPtr(pFiler));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new virtual OdResult dxfInFields(OdDbDxfFiler pFiler)
		{
			OdResult result = (OdResult)(this.SwigDerivedClassHasMethod("dxfInFields", OdDbRasterVariables.swigMethodTypes26) ? TD_DbPINVOKE.OdDbRasterVariables_dxfInFieldsSwigExplicitOdDbRasterVariables(this.swigCPtr, OdDbDxfFiler.getCPtr(pFiler)) : TD_DbPINVOKE.OdDbRasterVariables_dxfInFields(this.swigCPtr, OdDbDxfFiler.getCPtr(pFiler)));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual void dxfOutFields(OdDbDxfFiler pFiler)
		{
			if (this.SwigDerivedClassHasMethod("dxfOutFields", OdDbRasterVariables.swigMethodTypes27))
			{
				TD_DbPINVOKE.OdDbRasterVariables_dxfOutFieldsSwigExplicitOdDbRasterVariables(this.swigCPtr, OdDbDxfFiler.getCPtr(pFiler));
			}
			else
			{
				TD_DbPINVOKE.OdDbRasterVariables_dxfOutFields(this.swigCPtr, OdDbDxfFiler.getCPtr(pFiler));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual OdDbRasterVariables.FrameSettings imageFrame()
		{
			OdDbRasterVariables.FrameSettings result = (OdDbRasterVariables.FrameSettings)(this.SwigDerivedClassHasMethod("imageFrame", OdDbRasterVariables.swigMethodTypes62) ? TD_DbPINVOKE.OdDbRasterVariables_imageFrameSwigExplicitOdDbRasterVariables(this.swigCPtr) : TD_DbPINVOKE.OdDbRasterVariables_imageFrame(this.swigCPtr));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual void setImageFrame(OdDbRasterVariables.FrameSettings imageFrame)
		{
			if (this.SwigDerivedClassHasMethod("setImageFrame", OdDbRasterVariables.swigMethodTypes63))
			{
				TD_DbPINVOKE.OdDbRasterVariables_setImageFrameSwigExplicitOdDbRasterVariables(this.swigCPtr, (int)imageFrame);
			}
			else
			{
				TD_DbPINVOKE.OdDbRasterVariables_setImageFrame(this.swigCPtr, (int)imageFrame);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual OdDbRasterVariables.ImageQuality imageQuality()
		{
			OdDbRasterVariables.ImageQuality result = (OdDbRasterVariables.ImageQuality)(this.SwigDerivedClassHasMethod("imageQuality", OdDbRasterVariables.swigMethodTypes64) ? TD_DbPINVOKE.OdDbRasterVariables_imageQualitySwigExplicitOdDbRasterVariables(this.swigCPtr) : TD_DbPINVOKE.OdDbRasterVariables_imageQuality(this.swigCPtr));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual void setImageQuality(OdDbRasterVariables.ImageQuality imageQuality)
		{
			if (this.SwigDerivedClassHasMethod("setImageQuality", OdDbRasterVariables.swigMethodTypes65))
			{
				TD_DbPINVOKE.OdDbRasterVariables_setImageQualitySwigExplicitOdDbRasterVariables(this.swigCPtr, (int)imageQuality);
			}
			else
			{
				TD_DbPINVOKE.OdDbRasterVariables_setImageQuality(this.swigCPtr, (int)imageQuality);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual OdGiRasterImage.Units userScale()
		{
			OdGiRasterImage.Units result = (OdGiRasterImage.Units)(this.SwigDerivedClassHasMethod("userScale", OdDbRasterVariables.swigMethodTypes66) ? TD_DbPINVOKE.OdDbRasterVariables_userScaleSwigExplicitOdDbRasterVariables(this.swigCPtr) : TD_DbPINVOKE.OdDbRasterVariables_userScale(this.swigCPtr));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual void setUserScale(OdGiRasterImage.Units units)
		{
			if (this.SwigDerivedClassHasMethod("setUserScale", OdDbRasterVariables.swigMethodTypes67))
			{
				TD_DbPINVOKE.OdDbRasterVariables_setUserScaleSwigExplicitOdDbRasterVariables(this.swigCPtr, (int)units);
			}
			else
			{
				TD_DbPINVOKE.OdDbRasterVariables_setUserScale(this.swigCPtr, (int)units);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public static OdDbRasterVariables openRasterVariables(OdDbDatabase pDb, OpenMode openMode)
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbRasterVariables_openRasterVariables__SWIG_0(OdDbDatabase.getCPtr(pDb), (int)openMode);
			OdDbRasterVariables result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public static OdDbRasterVariables openRasterVariables(OdDbDatabase pDb)
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbRasterVariables_openRasterVariables__SWIG_1(OdDbDatabase.getCPtr(pDb));
			OdDbRasterVariables result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbRasterVariables)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		private void SwigDirectorConnect()
		{
			if (this.SwigDerivedClassHasMethod("queryX", OdDbRasterVariables.swigMethodTypes0))
			{
				this.swigDelegate0 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_0(this.SwigDirectorqueryX);
			}
			if (this.SwigDerivedClassHasMethod("isA", OdDbRasterVariables.swigMethodTypes1))
			{
				this.swigDelegate1 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_1(this.SwigDirectorisA);
			}
			if (this.SwigDerivedClassHasMethod("drawableType", OdDbRasterVariables.swigMethodTypes2))
			{
				this.swigDelegate2 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_2(this.SwigDirectordrawableType);
			}
			if (this.SwigDerivedClassHasMethod("isPersistent", OdDbRasterVariables.swigMethodTypes3))
			{
				this.swigDelegate3 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_3(this.SwigDirectorisPersistent);
			}
			if (this.SwigDerivedClassHasMethod("id", OdDbRasterVariables.swigMethodTypes4))
			{
				this.swigDelegate4 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_4(this.SwigDirectorid);
			}
			if (this.SwigDerivedClassHasMethod("setGsNode", OdDbRasterVariables.swigMethodTypes5))
			{
				this.swigDelegate5 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_5(this.SwigDirectorsetGsNode);
			}
			if (this.SwigDerivedClassHasMethod("gsNode", OdDbRasterVariables.swigMethodTypes6))
			{
				this.swigDelegate6 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_6(this.SwigDirectorgsNode);
			}
			if (this.SwigDerivedClassHasMethod("getGeomExtents", OdDbRasterVariables.swigMethodTypes7))
			{
				this.swigDelegate7 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_7(this.SwigDirectorgetGeomExtents);
			}
			if (this.SwigDerivedClassHasMethod("subSetAttributes", OdDbRasterVariables.swigMethodTypes8))
			{
				this.swigDelegate8 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_8(this.SwigDirectorsubSetAttributes);
			}
			if (this.SwigDerivedClassHasMethod("subWorldDraw", OdDbRasterVariables.swigMethodTypes9))
			{
				this.swigDelegate9 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_9(this.SwigDirectorsubWorldDraw);
			}
			if (this.SwigDerivedClassHasMethod("subViewportDraw", OdDbRasterVariables.swigMethodTypes10))
			{
				this.swigDelegate10 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_10(this.SwigDirectorsubViewportDraw);
			}
			if (this.SwigDerivedClassHasMethod("subViewportDrawLogicalFlags", OdDbRasterVariables.swigMethodTypes11))
			{
				this.swigDelegate11 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_11(this.SwigDirectorsubViewportDrawLogicalFlags);
			}
			if (this.SwigDerivedClassHasMethod("subRegenSupportFlags", OdDbRasterVariables.swigMethodTypes12))
			{
				this.swigDelegate12 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_12(this.SwigDirectorsubRegenSupportFlags);
			}
			if (this.SwigDerivedClassHasMethod("setOwnerId", OdDbRasterVariables.swigMethodTypes13))
			{
				this.swigDelegate13 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_13(this.SwigDirectorsetOwnerId);
			}
			if (this.SwigDerivedClassHasMethod("subOpen", OdDbRasterVariables.swigMethodTypes14))
			{
				this.swigDelegate14 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_14(this.SwigDirectorsubOpen);
			}
			if (this.SwigDerivedClassHasMethod("subClose", OdDbRasterVariables.swigMethodTypes15))
			{
				this.swigDelegate15 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_15(this.SwigDirectorsubClose);
			}
			if (this.SwigDerivedClassHasMethod("subErase", OdDbRasterVariables.swigMethodTypes16))
			{
				this.swigDelegate16 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_16(this.SwigDirectorsubErase);
			}
			if (this.SwigDerivedClassHasMethod("subHandOverTo", OdDbRasterVariables.swigMethodTypes17))
			{
				this.swigDelegate17 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_17(this.SwigDirectorsubHandOverTo);
			}
			if (this.SwigDerivedClassHasMethod("subSwapIdWith", OdDbRasterVariables.swigMethodTypes18))
			{
				this.swigDelegate18 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_18(this.SwigDirectorsubSwapIdWith__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("subSwapIdWith", OdDbRasterVariables.swigMethodTypes19))
			{
				this.swigDelegate19 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_19(this.SwigDirectorsubSwapIdWith__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("subSwapIdWith", OdDbRasterVariables.swigMethodTypes20))
			{
				this.swigDelegate20 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_20(this.SwigDirectorsubSwapIdWith__SWIG_2);
			}
			if (this.SwigDerivedClassHasMethod("audit", OdDbRasterVariables.swigMethodTypes21))
			{
				this.swigDelegate21 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_21(this.SwigDirectoraudit);
			}
			if (this.SwigDerivedClassHasMethod("dxfIn", OdDbRasterVariables.swigMethodTypes22))
			{
				this.swigDelegate22 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_22(this.SwigDirectordxfIn);
			}
			if (this.SwigDerivedClassHasMethod("dxfOut", OdDbRasterVariables.swigMethodTypes23))
			{
				this.swigDelegate23 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_23(this.SwigDirectordxfOut);
			}
			if (this.SwigDerivedClassHasMethod("dwgInFields", OdDbRasterVariables.swigMethodTypes24))
			{
				this.swigDelegate24 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_24(this.SwigDirectordwgInFields);
			}
			if (this.SwigDerivedClassHasMethod("dwgOutFields", OdDbRasterVariables.swigMethodTypes25))
			{
				this.swigDelegate25 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_25(this.SwigDirectordwgOutFields);
			}
			if (this.SwigDerivedClassHasMethod("dxfInFields", OdDbRasterVariables.swigMethodTypes26))
			{
				this.swigDelegate26 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_26(this.SwigDirectordxfInFields);
			}
			if (this.SwigDerivedClassHasMethod("dxfOutFields", OdDbRasterVariables.swigMethodTypes27))
			{
				this.swigDelegate27 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_27(this.SwigDirectordxfOutFields);
			}
			if (this.SwigDerivedClassHasMethod("dxfInFields_R12", OdDbRasterVariables.swigMethodTypes28))
			{
				this.swigDelegate28 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_28(this.SwigDirectordxfInFields_R12);
			}
			if (this.SwigDerivedClassHasMethod("dxfOutFields_R12", OdDbRasterVariables.swigMethodTypes29))
			{
				this.swigDelegate29 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_29(this.SwigDirectordxfOutFields_R12);
			}
			if (this.SwigDerivedClassHasMethod("mergeStyle", OdDbRasterVariables.swigMethodTypes30))
			{
				this.swigDelegate30 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_30(this.SwigDirectormergeStyle);
			}
			if (this.SwigDerivedClassHasMethod("xData", OdDbRasterVariables.swigMethodTypes31))
			{
				this.swigDelegate31 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_31(this.SwigDirectorxData__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("xData", OdDbRasterVariables.swigMethodTypes32))
			{
				this.swigDelegate32 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_32(this.SwigDirectorxData__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("setXData", OdDbRasterVariables.swigMethodTypes33))
			{
				this.swigDelegate33 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_33(this.SwigDirectorsetXData);
			}
			if (this.SwigDerivedClassHasMethod("applyPartialUndo", OdDbRasterVariables.swigMethodTypes34))
			{
				this.swigDelegate34 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_34(this.SwigDirectorapplyPartialUndo);
			}
			if (this.SwigDerivedClassHasMethod("addPersistentReactor", OdDbRasterVariables.swigMethodTypes35))
			{
				this.swigDelegate35 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_35(this.SwigDirectoraddPersistentReactor);
			}
			if (this.SwigDerivedClassHasMethod("removePersistentReactor", OdDbRasterVariables.swigMethodTypes36))
			{
				this.swigDelegate36 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_36(this.SwigDirectorremovePersistentReactor);
			}
			if (this.SwigDerivedClassHasMethod("recvPropagateModify", OdDbRasterVariables.swigMethodTypes37))
			{
				this.swigDelegate37 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_37(this.SwigDirectorrecvPropagateModify);
			}
			if (this.SwigDerivedClassHasMethod("xmitPropagateModify", OdDbRasterVariables.swigMethodTypes38))
			{
				this.swigDelegate38 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_38(this.SwigDirectorxmitPropagateModify);
			}
			if (this.SwigDerivedClassHasMethod("appendToOwner", OdDbRasterVariables.swigMethodTypes39))
			{
				this.swigDelegate39 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_39(this.SwigDirectorappendToOwner);
			}
			if (this.SwigDerivedClassHasMethod("copied", OdDbRasterVariables.swigMethodTypes40))
			{
				this.swigDelegate40 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_40(this.SwigDirectorcopied);
			}
			if (this.SwigDerivedClassHasMethod("erased", OdDbRasterVariables.swigMethodTypes41))
			{
				this.swigDelegate41 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_41(this.SwigDirectorerased__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("erased", OdDbRasterVariables.swigMethodTypes42))
			{
				this.swigDelegate42 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_42(this.SwigDirectorerased__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("goodbye", OdDbRasterVariables.swigMethodTypes43))
			{
				this.swigDelegate43 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_43(this.SwigDirectorgoodbye);
			}
			if (this.SwigDerivedClassHasMethod("openedForModify", OdDbRasterVariables.swigMethodTypes44))
			{
				this.swigDelegate44 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_44(this.SwigDirectoropenedForModify);
			}
			if (this.SwigDerivedClassHasMethod("modified", OdDbRasterVariables.swigMethodTypes45))
			{
				this.swigDelegate45 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_45(this.SwigDirectormodified);
			}
			if (this.SwigDerivedClassHasMethod("subObjModified", OdDbRasterVariables.swigMethodTypes46))
			{
				this.swigDelegate46 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_46(this.SwigDirectorsubObjModified);
			}
			if (this.SwigDerivedClassHasMethod("modifyUndone", OdDbRasterVariables.swigMethodTypes47))
			{
				this.swigDelegate47 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_47(this.SwigDirectormodifyUndone);
			}
			if (this.SwigDerivedClassHasMethod("modifiedXData", OdDbRasterVariables.swigMethodTypes48))
			{
				this.swigDelegate48 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_48(this.SwigDirectormodifiedXData);
			}
			if (this.SwigDerivedClassHasMethod("unappended", OdDbRasterVariables.swigMethodTypes49))
			{
				this.swigDelegate49 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_49(this.SwigDirectorunappended);
			}
			if (this.SwigDerivedClassHasMethod("reappended", OdDbRasterVariables.swigMethodTypes50))
			{
				this.swigDelegate50 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_50(this.SwigDirectorreappended);
			}
			if (this.SwigDerivedClassHasMethod("objectClosed", OdDbRasterVariables.swigMethodTypes51))
			{
				this.swigDelegate51 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_51(this.SwigDirectorobjectClosed);
			}
			if (this.SwigDerivedClassHasMethod("modifiedGraphics", OdDbRasterVariables.swigMethodTypes52))
			{
				this.swigDelegate52 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_52(this.SwigDirectormodifiedGraphics);
			}
			if (this.SwigDerivedClassHasMethod("getObjectSaveVersion", OdDbRasterVariables.swigMethodTypes53))
			{
				this.swigDelegate53 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_53(this.SwigDirectorgetObjectSaveVersion__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("getObjectSaveVersion", OdDbRasterVariables.swigMethodTypes54))
			{
				this.swigDelegate54 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_54(this.SwigDirectorgetObjectSaveVersion__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("decomposeForSave", OdDbRasterVariables.swigMethodTypes55))
			{
				this.swigDelegate55 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_55(this.SwigDirectordecomposeForSave);
			}
			if (this.SwigDerivedClassHasMethod("composeForLoad", OdDbRasterVariables.swigMethodTypes56))
			{
				this.swigDelegate56 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_56(this.SwigDirectorcomposeForLoad);
			}
			if (this.SwigDerivedClassHasMethod("drawable", OdDbRasterVariables.swigMethodTypes57))
			{
				this.swigDelegate57 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_57(this.SwigDirectordrawable);
			}
			if (this.SwigDerivedClassHasMethod("setField", OdDbRasterVariables.swigMethodTypes58))
			{
				this.swigDelegate58 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_58(this.SwigDirectorsetField);
			}
			if (this.SwigDerivedClassHasMethod("removeField", OdDbRasterVariables.swigMethodTypes59))
			{
				this.swigDelegate59 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_59(this.SwigDirectorremoveField__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("removeField", OdDbRasterVariables.swigMethodTypes60))
			{
				this.swigDelegate60 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_60(this.SwigDirectorremoveField__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("saveAsClass", OdDbRasterVariables.swigMethodTypes61))
			{
				this.swigDelegate61 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_61(this.SwigDirectorsaveAsClass);
			}
			if (this.SwigDerivedClassHasMethod("imageFrame", OdDbRasterVariables.swigMethodTypes62))
			{
				this.swigDelegate62 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_62(this.SwigDirectorimageFrame);
			}
			if (this.SwigDerivedClassHasMethod("setImageFrame", OdDbRasterVariables.swigMethodTypes63))
			{
				this.swigDelegate63 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_63(this.SwigDirectorsetImageFrame);
			}
			if (this.SwigDerivedClassHasMethod("imageQuality", OdDbRasterVariables.swigMethodTypes64))
			{
				this.swigDelegate64 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_64(this.SwigDirectorimageQuality);
			}
			if (this.SwigDerivedClassHasMethod("setImageQuality", OdDbRasterVariables.swigMethodTypes65))
			{
				this.swigDelegate65 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_65(this.SwigDirectorsetImageQuality);
			}
			if (this.SwigDerivedClassHasMethod("userScale", OdDbRasterVariables.swigMethodTypes66))
			{
				this.swigDelegate66 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_66(this.SwigDirectoruserScale);
			}
			if (this.SwigDerivedClassHasMethod("setUserScale", OdDbRasterVariables.swigMethodTypes67))
			{
				this.swigDelegate67 = new OdDbRasterVariables.SwigDelegateOdDbRasterVariables_67(this.SwigDirectorsetUserScale);
			}
			TD_DbPINVOKE.OdDbRasterVariables_director_connect(this.swigCPtr, this.swigDelegate0, this.swigDelegate1, this.swigDelegate2, this.swigDelegate3, this.swigDelegate4, this.swigDelegate5, this.swigDelegate6, this.swigDelegate7, this.swigDelegate8, this.swigDelegate9, this.swigDelegate10, this.swigDelegate11, this.swigDelegate12, this.swigDelegate13, this.swigDelegate14, this.swigDelegate15, this.swigDelegate16, this.swigDelegate17, this.swigDelegate18, this.swigDelegate19, this.swigDelegate20, this.swigDelegate21, this.swigDelegate22, this.swigDelegate23, this.swigDelegate24, this.swigDelegate25, this.swigDelegate26, this.swigDelegate27, this.swigDelegate28, this.swigDelegate29, this.swigDelegate30, this.swigDelegate31, this.swigDelegate32, this.swigDelegate33, this.swigDelegate34, this.swigDelegate35, this.swigDelegate36, this.swigDelegate37, this.swigDelegate38, this.swigDelegate39, this.swigDelegate40, this.swigDelegate41, this.swigDelegate42, this.swigDelegate43, this.swigDelegate44, this.swigDelegate45, this.swigDelegate46, this.swigDelegate47, this.swigDelegate48, this.swigDelegate49, this.swigDelegate50, this.swigDelegate51, this.swigDelegate52, this.swigDelegate53, this.swigDelegate54, this.swigDelegate55, this.swigDelegate56, this.swigDelegate57, this.swigDelegate58, this.swigDelegate59, this.swigDelegate60, this.swigDelegate61, this.swigDelegate62, this.swigDelegate63, this.swigDelegate64, this.swigDelegate65, this.swigDelegate66, this.swigDelegate67);
		}

		private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes)
		{
			MethodInfo method = base.GetType().GetMethod(methodName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, methodTypes, null);
			return method.DeclaringType.IsSubclassOf(typeof(OdDbRasterVariables));
		}

		private IntPtr SwigDirectorqueryX(IntPtr protocolClass)
		{
			return OdRxObject.getCPtr(this.queryX((OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(protocolClass, false))).Handle;
		}

		private IntPtr SwigDirectorisA()
		{
			return OdRxClass.getCPtr(this.isA()).Handle;
		}

		private int SwigDirectordrawableType()
		{
			return (int)this.drawableType();
		}

		private bool SwigDirectorisPersistent()
		{
			return this.isPersistent();
		}

		private IntPtr SwigDirectorid()
		{
			return OdDbStub.getCPtr(this.id()).Handle;
		}

		private void SwigDirectorsetGsNode(IntPtr pNode)
		{
			this.setGsNode(new OdGsCache(pNode, false));
		}

		private IntPtr SwigDirectorgsNode()
		{
			return OdGsCache.getCPtr(this.gsNode()).Handle;
		}

		private int SwigDirectorgetGeomExtents(IntPtr extents)
		{
			return (int)this.getGeomExtents(new OdGeExtents3d(extents, false));
		}

		private uint SwigDirectorsubSetAttributes(IntPtr pTraits)
		{
			return this.subSetAttributes(new OdGiDrawableTraits(pTraits, false));
		}

		private bool SwigDirectorsubWorldDraw(IntPtr pWd)
		{
			return this.subWorldDraw(new OdGiWorldDraw_Internal(pWd, false));
		}

		private void SwigDirectorsubViewportDraw(IntPtr pVd)
		{
			this.subViewportDraw(new OdGiViewportDraw_Internal(pVd, false));
		}

		private uint SwigDirectorsubViewportDrawLogicalFlags(IntPtr vd)
		{
			return this.subViewportDrawLogicalFlags(new OdGiViewportDraw_Internal(vd, false));
		}

		private uint SwigDirectorsubRegenSupportFlags()
		{
			return this.subRegenSupportFlags();
		}

		private void SwigDirectorsetOwnerId(IntPtr ownerId)
		{
			this.setOwnerId(new OdDbObjectId(ownerId, false));
		}

		private int SwigDirectorsubOpen(int mode)
		{
			return (int)this.subOpen((OpenMode)mode);
		}

		private void SwigDirectorsubClose()
		{
			this.subClose();
		}

		private int SwigDirectorsubErase(bool erasing)
		{
			return (int)this.subErase(erasing);
		}

		private void SwigDirectorsubHandOverTo(IntPtr pNewObject)
		{
			this.subHandOverTo((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pNewObject, false));
		}

		private void SwigDirectorsubSwapIdWith__SWIG_0(IntPtr otherId, bool swapXdata, bool swapExtDict)
		{
			this.subSwapIdWith(new OdDbObjectId(otherId, false), swapXdata, swapExtDict);
		}

		private void SwigDirectorsubSwapIdWith__SWIG_1(IntPtr otherId, bool swapXdata)
		{
			this.subSwapIdWith(new OdDbObjectId(otherId, false), swapXdata);
		}

		private void SwigDirectorsubSwapIdWith__SWIG_2(IntPtr otherId)
		{
			this.subSwapIdWith(new OdDbObjectId(otherId, false));
		}

		private void SwigDirectoraudit(IntPtr pAuditInfo)
		{
			this.audit((pAuditInfo == IntPtr.Zero) ? null : new OdDbAuditInfo(pAuditInfo, false));
		}

		private int SwigDirectordxfIn(IntPtr pFiler)
		{
			return (int)this.dxfIn((OdDbDxfFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false));
		}

		private void SwigDirectordxfOut(IntPtr pFiler)
		{
			this.dxfOut((OdDbDxfFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false));
		}

		private int SwigDirectordwgInFields(IntPtr pFiler)
		{
			return (int)this.dwgInFields((OdDbDwgFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false));
		}

		private void SwigDirectordwgOutFields(IntPtr pFiler)
		{
			this.dwgOutFields((OdDbDwgFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false));
		}

		private int SwigDirectordxfInFields(IntPtr pFiler)
		{
			return (int)this.dxfInFields((OdDbDxfFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false));
		}

		private void SwigDirectordxfOutFields(IntPtr pFiler)
		{
			this.dxfOutFields((OdDbDxfFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false));
		}

		private int SwigDirectordxfInFields_R12(IntPtr pFiler)
		{
			return (int)this.dxfInFields_R12((OdDbDxfFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false));
		}

		private void SwigDirectordxfOutFields_R12(IntPtr pFiler)
		{
			this.dxfOutFields_R12((OdDbDxfFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false));
		}

		private int SwigDirectormergeStyle()
		{
			return (int)this.mergeStyle();
		}

		private IntPtr SwigDirectorxData__SWIG_0([MarshalAs(UnmanagedType.LPWStr)] string regappName)
		{
			return OdResBuf.getCPtr(this.xData(regappName)).Handle;
		}

		private IntPtr SwigDirectorxData__SWIG_1()
		{
			return OdResBuf.getCPtr(this.xData()).Handle;
		}

		private void SwigDirectorsetXData(IntPtr pRb)
		{
			this.setXData((OdResBuf)Teigha.Core.Helpers.odrxCreateObjectInternal(pRb, false));
		}

		private void SwigDirectorapplyPartialUndo(IntPtr pUndoFiler, IntPtr pClassObj)
		{
			this.applyPartialUndo((OdDbDwgFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pUndoFiler, false), (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(pClassObj, false));
		}

		private void SwigDirectoraddPersistentReactor(IntPtr objId)
		{
			this.addPersistentReactor(new OdDbObjectId(objId, false));
		}

		private void SwigDirectorremovePersistentReactor(IntPtr objId)
		{
			this.removePersistentReactor(new OdDbObjectId(objId, false));
		}

		private void SwigDirectorrecvPropagateModify(IntPtr pSubObj)
		{
			this.recvPropagateModify((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pSubObj, false));
		}

		private void SwigDirectorxmitPropagateModify()
		{
			this.xmitPropagateModify();
		}

		private void SwigDirectorappendToOwner(IntPtr idPair, IntPtr pOwnerObject, IntPtr ownerIdMap)
		{
			this.appendToOwner(new OdDbIdPair(idPair, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pOwnerObject, false), (OdDbIdMapping)Teigha.Core.Helpers.odrxCreateObjectInternal(ownerIdMap, false));
		}

		private void SwigDirectorcopied(IntPtr pObject, IntPtr pNewObject)
		{
			this.copied((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pNewObject, false));
		}

		private void SwigDirectorerased__SWIG_0(IntPtr pObject, bool erasing)
		{
			this.erased((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false), erasing);
		}

		private void SwigDirectorerased__SWIG_1(IntPtr pObject)
		{
			this.erased((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorgoodbye(IntPtr pObject)
		{
			this.goodbye((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectoropenedForModify(IntPtr pObject)
		{
			this.openedForModify((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectormodified(IntPtr pObject)
		{
			this.modified((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorsubObjModified(IntPtr pObject, IntPtr pSubObj)
		{
			this.subObjModified((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pSubObj, false));
		}

		private void SwigDirectormodifyUndone(IntPtr pObject)
		{
			this.modifyUndone((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectormodifiedXData(IntPtr pObject)
		{
			this.modifiedXData((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorunappended(IntPtr pObject)
		{
			this.unappended((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorreappended(IntPtr pObject)
		{
			this.reappended((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorobjectClosed(IntPtr objectId)
		{
			this.objectClosed(new OdDbObjectId(objectId, false));
		}

		private void SwigDirectormodifiedGraphics(IntPtr pObject)
		{
			this.modifiedGraphics((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private int SwigDirectorgetObjectSaveVersion__SWIG_0(IntPtr pFiler, MaintReleaseVer pMaintVer)
		{
			return (int)this.getObjectSaveVersion((OdDbFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false), out pMaintVer);
		}

		private int SwigDirectorgetObjectSaveVersion__SWIG_1(IntPtr pFiler)
		{
			return (int)this.getObjectSaveVersion((OdDbFiler)Teigha.Core.Helpers.odrxCreateObjectInternal(pFiler, false));
		}

		private IntPtr SwigDirectordecomposeForSave(int ver, IntPtr replaceId, bool exchangeXData)
		{
			return OdDbObject.getCPtr(this.decomposeForSave((DwgVersion)ver, new OdDbObjectId(replaceId, false), out exchangeXData)).Handle;
		}

		private void SwigDirectorcomposeForLoad(int format, int version, IntPtr pAuditInfo)
		{
			this.composeForLoad((SaveType)format, (DwgVersion)version, (pAuditInfo == IntPtr.Zero) ? null : new OdDbAuditInfo(pAuditInfo, false));
		}

		private IntPtr SwigDirectordrawable()
		{
			return OdGiDrawable.getCPtr(this.drawable()).Handle;
		}

		private IntPtr SwigDirectorsetField([MarshalAs(UnmanagedType.LPWStr)] string fieldName, IntPtr pField)
		{
			return OdDbObjectId.getCPtr(this.setField(fieldName, (OdDbField)Teigha.Core.Helpers.odrxCreateObjectInternal(pField, false))).Handle;
		}

		private int SwigDirectorremoveField__SWIG_0(IntPtr fieldId)
		{
			return (int)this.removeField(new OdDbObjectId(fieldId, false));
		}

		private IntPtr SwigDirectorremoveField__SWIG_1([MarshalAs(UnmanagedType.LPWStr)] string fieldName)
		{
			return OdDbObjectId.getCPtr(this.removeField(fieldName)).Handle;
		}

		private IntPtr SwigDirectorsaveAsClass(IntPtr pClass)
		{
			return OdRxClass.getCPtr(this.saveAsClass((OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(pClass, false))).Handle;
		}

		private int SwigDirectorimageFrame()
		{
			return (int)this.imageFrame();
		}

		private void SwigDirectorsetImageFrame(int imageFrame)
		{
			this.setImageFrame((OdDbRasterVariables.FrameSettings)imageFrame);
		}

		private int SwigDirectorimageQuality()
		{
			return (int)this.imageQuality();
		}

		private void SwigDirectorsetImageQuality(int imageQuality)
		{
			this.setImageQuality((OdDbRasterVariables.ImageQuality)imageQuality);
		}

		private int SwigDirectoruserScale()
		{
			return (int)this.userScale();
		}

		private void SwigDirectorsetUserScale(int units)
		{
			this.setUserScale((OdGiRasterImage.Units)units);
		}

		private object locker = new object();

		private HandleRef swigCPtr;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_0 swigDelegate0;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_1 swigDelegate1;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_2 swigDelegate2;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_3 swigDelegate3;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_4 swigDelegate4;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_5 swigDelegate5;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_6 swigDelegate6;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_7 swigDelegate7;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_8 swigDelegate8;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_9 swigDelegate9;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_10 swigDelegate10;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_11 swigDelegate11;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_12 swigDelegate12;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_13 swigDelegate13;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_14 swigDelegate14;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_15 swigDelegate15;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_16 swigDelegate16;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_17 swigDelegate17;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_18 swigDelegate18;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_19 swigDelegate19;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_20 swigDelegate20;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_21 swigDelegate21;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_22 swigDelegate22;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_23 swigDelegate23;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_24 swigDelegate24;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_25 swigDelegate25;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_26 swigDelegate26;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_27 swigDelegate27;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_28 swigDelegate28;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_29 swigDelegate29;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_30 swigDelegate30;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_31 swigDelegate31;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_32 swigDelegate32;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_33 swigDelegate33;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_34 swigDelegate34;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_35 swigDelegate35;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_36 swigDelegate36;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_37 swigDelegate37;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_38 swigDelegate38;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_39 swigDelegate39;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_40 swigDelegate40;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_41 swigDelegate41;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_42 swigDelegate42;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_43 swigDelegate43;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_44 swigDelegate44;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_45 swigDelegate45;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_46 swigDelegate46;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_47 swigDelegate47;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_48 swigDelegate48;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_49 swigDelegate49;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_50 swigDelegate50;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_51 swigDelegate51;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_52 swigDelegate52;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_53 swigDelegate53;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_54 swigDelegate54;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_55 swigDelegate55;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_56 swigDelegate56;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_57 swigDelegate57;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_58 swigDelegate58;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_59 swigDelegate59;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_60 swigDelegate60;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_61 swigDelegate61;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_62 swigDelegate62;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_63 swigDelegate63;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_64 swigDelegate64;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_65 swigDelegate65;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_66 swigDelegate66;

		private OdDbRasterVariables.SwigDelegateOdDbRasterVariables_67 swigDelegate67;

		private static Type[] swigMethodTypes0 = new Type[]
		{
			typeof(OdRxClass)
		};

		private static Type[] swigMethodTypes1 = new Type[0];

		private static Type[] swigMethodTypes2 = new Type[0];

		private static Type[] swigMethodTypes3 = new Type[0];

		private static Type[] swigMethodTypes4 = new Type[0];

		private static Type[] swigMethodTypes5 = new Type[]
		{
			typeof(OdGsCache)
		};

		private static Type[] swigMethodTypes6 = new Type[0];

		private static Type[] swigMethodTypes7 = new Type[]
		{
			typeof(OdGeExtents3d)
		};

		private static Type[] swigMethodTypes8 = new Type[]
		{
			typeof(OdGiDrawableTraits)
		};

		private static Type[] swigMethodTypes9 = new Type[]
		{
			typeof(OdGiWorldDraw)
		};

		private static Type[] swigMethodTypes10 = new Type[]
		{
			typeof(OdGiViewportDraw)
		};

		private static Type[] swigMethodTypes11 = new Type[]
		{
			typeof(OdGiViewportDraw)
		};

		private static Type[] swigMethodTypes12 = new Type[0];

		private static Type[] swigMethodTypes13 = new Type[]
		{
			typeof(OdDbObjectId)
		};

		private static Type[] swigMethodTypes14 = new Type[]
		{
			typeof(OpenMode)
		};

		private static Type[] swigMethodTypes15 = new Type[0];

		private static Type[] swigMethodTypes16 = new Type[]
		{
			typeof(bool)
		};

		private static Type[] swigMethodTypes17 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes18 = new Type[]
		{
			typeof(OdDbObjectId),
			typeof(bool),
			typeof(bool)
		};

		private static Type[] swigMethodTypes19 = new Type[]
		{
			typeof(OdDbObjectId),
			typeof(bool)
		};

		private static Type[] swigMethodTypes20 = new Type[]
		{
			typeof(OdDbObjectId)
		};

		private static Type[] swigMethodTypes21 = new Type[]
		{
			typeof(OdDbAuditInfo)
		};

		private static Type[] swigMethodTypes22 = new Type[]
		{
			typeof(OdDbDxfFiler)
		};

		private static Type[] swigMethodTypes23 = new Type[]
		{
			typeof(OdDbDxfFiler)
		};

		private static Type[] swigMethodTypes24 = new Type[]
		{
			typeof(OdDbDwgFiler)
		};

		private static Type[] swigMethodTypes25 = new Type[]
		{
			typeof(OdDbDwgFiler)
		};

		private static Type[] swigMethodTypes26 = new Type[]
		{
			typeof(OdDbDxfFiler)
		};

		private static Type[] swigMethodTypes27 = new Type[]
		{
			typeof(OdDbDxfFiler)
		};

		private static Type[] swigMethodTypes28 = new Type[]
		{
			typeof(OdDbDxfFiler)
		};

		private static Type[] swigMethodTypes29 = new Type[]
		{
			typeof(OdDbDxfFiler)
		};

		private static Type[] swigMethodTypes30 = new Type[0];

		private static Type[] swigMethodTypes31 = new Type[]
		{
			typeof(string)
		};

		private static Type[] swigMethodTypes32 = new Type[0];

		private static Type[] swigMethodTypes33 = new Type[]
		{
			typeof(OdResBuf)
		};

		private static Type[] swigMethodTypes34 = new Type[]
		{
			typeof(OdDbDwgFiler),
			typeof(OdRxClass)
		};

		private static Type[] swigMethodTypes35 = new Type[]
		{
			typeof(OdDbObjectId)
		};

		private static Type[] swigMethodTypes36 = new Type[]
		{
			typeof(OdDbObjectId)
		};

		private static Type[] swigMethodTypes37 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes38 = new Type[0];

		private static Type[] swigMethodTypes39 = new Type[]
		{
			typeof(OdDbIdPair),
			typeof(OdDbObject),
			typeof(OdDbIdMapping)
		};

		private static Type[] swigMethodTypes40 = new Type[]
		{
			typeof(OdDbObject),
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes41 = new Type[]
		{
			typeof(OdDbObject),
			typeof(bool)
		};

		private static Type[] swigMethodTypes42 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes43 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes44 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes45 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes46 = new Type[]
		{
			typeof(OdDbObject),
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes47 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes48 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes49 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes50 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes51 = new Type[]
		{
			typeof(OdDbObjectId)
		};

		private static Type[] swigMethodTypes52 = new Type[]
		{
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes53 = new Type[]
		{
			typeof(OdDbFiler),
			typeof(MaintReleaseVer).MakeByRefType()
		};

		private static Type[] swigMethodTypes54 = new Type[]
		{
			typeof(OdDbFiler)
		};

		private static Type[] swigMethodTypes55 = new Type[]
		{
			typeof(DwgVersion),
			typeof(OdDbObjectId),
			typeof(bool).MakeByRefType()
		};

		private static Type[] swigMethodTypes56 = new Type[]
		{
			typeof(SaveType),
			typeof(DwgVersion),
			typeof(OdDbAuditInfo)
		};

		private static Type[] swigMethodTypes57 = new Type[0];

		private static Type[] swigMethodTypes58 = new Type[]
		{
			typeof(string),
			typeof(OdDbField)
		};

		private static Type[] swigMethodTypes59 = new Type[]
		{
			typeof(OdDbObjectId)
		};

		private static Type[] swigMethodTypes60 = new Type[]
		{
			typeof(string)
		};

		private static Type[] swigMethodTypes61 = new Type[]
		{
			typeof(OdRxClass)
		};

		private static Type[] swigMethodTypes62 = new Type[0];

		private static Type[] swigMethodTypes63 = new Type[]
		{
			typeof(OdDbRasterVariables.FrameSettings)
		};

		private static Type[] swigMethodTypes64 = new Type[0];

		private static Type[] swigMethodTypes65 = new Type[]
		{
			typeof(OdDbRasterVariables.ImageQuality)
		};

		private static Type[] swigMethodTypes66 = new Type[0];

		private static Type[] swigMethodTypes67 = new Type[]
		{
			typeof(OdGiRasterImage.Units)
		};

		public delegate IntPtr SwigDelegateOdDbRasterVariables_0(IntPtr protocolClass);

		public delegate IntPtr SwigDelegateOdDbRasterVariables_1();

		public delegate int SwigDelegateOdDbRasterVariables_2();

		public delegate bool SwigDelegateOdDbRasterVariables_3();

		public delegate IntPtr SwigDelegateOdDbRasterVariables_4();

		public delegate void SwigDelegateOdDbRasterVariables_5(IntPtr pNode);

		public delegate IntPtr SwigDelegateOdDbRasterVariables_6();

		public delegate int SwigDelegateOdDbRasterVariables_7(IntPtr extents);

		public delegate uint SwigDelegateOdDbRasterVariables_8(IntPtr pTraits);

		public delegate bool SwigDelegateOdDbRasterVariables_9(IntPtr pWd);

		public delegate void SwigDelegateOdDbRasterVariables_10(IntPtr pVd);

		public delegate uint SwigDelegateOdDbRasterVariables_11(IntPtr vd);

		public delegate uint SwigDelegateOdDbRasterVariables_12();

		public delegate void SwigDelegateOdDbRasterVariables_13(IntPtr ownerId);

		public delegate int SwigDelegateOdDbRasterVariables_14(int mode);

		public delegate void SwigDelegateOdDbRasterVariables_15();

		public delegate int SwigDelegateOdDbRasterVariables_16(bool erasing);

		public delegate void SwigDelegateOdDbRasterVariables_17(IntPtr pNewObject);

		public delegate void SwigDelegateOdDbRasterVariables_18(IntPtr otherId, bool swapXdata, bool swapExtDict);

		public delegate void SwigDelegateOdDbRasterVariables_19(IntPtr otherId, bool swapXdata);

		public delegate void SwigDelegateOdDbRasterVariables_20(IntPtr otherId);

		public delegate void SwigDelegateOdDbRasterVariables_21(IntPtr pAuditInfo);

		public delegate int SwigDelegateOdDbRasterVariables_22(IntPtr pFiler);

		public delegate void SwigDelegateOdDbRasterVariables_23(IntPtr pFiler);

		public delegate int SwigDelegateOdDbRasterVariables_24(IntPtr pFiler);

		public delegate void SwigDelegateOdDbRasterVariables_25(IntPtr pFiler);

		public delegate int SwigDelegateOdDbRasterVariables_26(IntPtr pFiler);

		public delegate void SwigDelegateOdDbRasterVariables_27(IntPtr pFiler);

		public delegate int SwigDelegateOdDbRasterVariables_28(IntPtr pFiler);

		public delegate void SwigDelegateOdDbRasterVariables_29(IntPtr pFiler);

		public delegate int SwigDelegateOdDbRasterVariables_30();

		public delegate IntPtr SwigDelegateOdDbRasterVariables_31([MarshalAs(UnmanagedType.LPWStr)] string regappName);

		public delegate IntPtr SwigDelegateOdDbRasterVariables_32();

		public delegate void SwigDelegateOdDbRasterVariables_33(IntPtr pRb);

		public delegate void SwigDelegateOdDbRasterVariables_34(IntPtr pUndoFiler, IntPtr pClassObj);

		public delegate void SwigDelegateOdDbRasterVariables_35(IntPtr objId);

		public delegate void SwigDelegateOdDbRasterVariables_36(IntPtr objId);

		public delegate void SwigDelegateOdDbRasterVariables_37(IntPtr pSubObj);

		public delegate void SwigDelegateOdDbRasterVariables_38();

		public delegate void SwigDelegateOdDbRasterVariables_39(IntPtr idPair, IntPtr pOwnerObject, IntPtr ownerIdMap);

		public delegate void SwigDelegateOdDbRasterVariables_40(IntPtr pObject, IntPtr pNewObject);

		public delegate void SwigDelegateOdDbRasterVariables_41(IntPtr pObject, bool erasing);

		public delegate void SwigDelegateOdDbRasterVariables_42(IntPtr pObject);

		public delegate void SwigDelegateOdDbRasterVariables_43(IntPtr pObject);

		public delegate void SwigDelegateOdDbRasterVariables_44(IntPtr pObject);

		public delegate void SwigDelegateOdDbRasterVariables_45(IntPtr pObject);

		public delegate void SwigDelegateOdDbRasterVariables_46(IntPtr pObject, IntPtr pSubObj);

		public delegate void SwigDelegateOdDbRasterVariables_47(IntPtr pObject);

		public delegate void SwigDelegateOdDbRasterVariables_48(IntPtr pObject);

		public delegate void SwigDelegateOdDbRasterVariables_49(IntPtr pObject);

		public delegate void SwigDelegateOdDbRasterVariables_50(IntPtr pObject);

		public delegate void SwigDelegateOdDbRasterVariables_51(IntPtr objectId);

		public delegate void SwigDelegateOdDbRasterVariables_52(IntPtr pObject);

		public delegate int SwigDelegateOdDbRasterVariables_53(IntPtr pFiler, MaintReleaseVer pMaintVer);

		public delegate int SwigDelegateOdDbRasterVariables_54(IntPtr pFiler);

		public delegate IntPtr SwigDelegateOdDbRasterVariables_55(int ver, IntPtr replaceId, bool exchangeXData);

		public delegate void SwigDelegateOdDbRasterVariables_56(int format, int version, IntPtr pAuditInfo);

		public delegate IntPtr SwigDelegateOdDbRasterVariables_57();

		public delegate IntPtr SwigDelegateOdDbRasterVariables_58([MarshalAs(UnmanagedType.LPWStr)] string fieldName, IntPtr pField);

		public delegate int SwigDelegateOdDbRasterVariables_59(IntPtr fieldId);

		public delegate IntPtr SwigDelegateOdDbRasterVariables_60([MarshalAs(UnmanagedType.LPWStr)] string fieldName);

		public delegate IntPtr SwigDelegateOdDbRasterVariables_61(IntPtr pClass);

		public delegate int SwigDelegateOdDbRasterVariables_62();

		public delegate void SwigDelegateOdDbRasterVariables_63(int imageFrame);

		public delegate int SwigDelegateOdDbRasterVariables_64();

		public delegate void SwigDelegateOdDbRasterVariables_65(int imageQuality);

		public delegate int SwigDelegateOdDbRasterVariables_66();

		public delegate void SwigDelegateOdDbRasterVariables_67(int units);

		public enum FrameSettings
		{
			kImageFrameInvalid = -1,
			kImageFrameOff,
			kImageFrameAbove,
			kImageFrameBelow,
			kImageFrameOnNoPlot
		}

		public enum ImageQuality
		{
			kImageQualityInvalid = -1,
			kImageQualityDraft,
			kImageQualityHigh
		}
	}
}
